include ../makefile_common

.PHONY:clean all

SERVER = gatewayserver.exe

OBJS = GatewayTask.o GatewayTimeTick.o GatewayServer.o

all : $(SERVER)
	@echo $(CURDIR)/$^ is generated successful!

$(OBJS) : %.o:%.cc
	@echo Compiling... $@
	$(CPP) $(CXXFLAGS) -c  $< $(ZTINCLUDE)
$(SERVER) : $(OBJS)
	@echo Building ... $@
	$(CPP) $(CXXFLAGS) -o $@ $^ $(LIB)
clean:
	@echo clear... $(OBJS) $(SERVER)
	-rm -f $(OBJS) $(SERVER)
